package edu.whu.rose.clock.ssql.graph;


public class RRadiusSubGraph {

	private int row;
	private int[] vertexes;
	private int[] startVertexes;
	private int[] endVertexes;
	
	public RRadiusSubGraph(int[] vertexes, int[] startVertexes, int[] endVertexes) {
		this(0, vertexes, startVertexes, endVertexes);
	}
	
	public RRadiusSubGraph(int row, int[] vertexes) {
		this(row, vertexes, null, null);
	}
	
	public RRadiusSubGraph(int row, int[] vertexes, int[] startVertexes, int[] endVertexes) {
		this.row = row;
		this.vertexes = vertexes;
		this.startVertexes = startVertexes;
		this.endVertexes = endVertexes;
	}

	public int getRow() {
		return row;
	}
	
	public void setRow(int row) {
		this.row = row;
	}
	
	public int[] getVertexes() {
		return vertexes;
	}
	
	public int getVertexNumber() {
		return vertexes.length;
	}

	public int[] getStartVertexes() {
		return startVertexes;
	}

	public void setStartVertexes(int[] startVertexes) {
		this.startVertexes = startVertexes;
	}

	public int[] getEndVertexes() {
		return endVertexes;
	}

	public void setEndVertexes(int[] endVertexes) {
		this.endVertexes = endVertexes;
	}

}
